eststo clear
eststo: reghdfe ln_duration i1.hartal_order ln_q_sbjo num_ship_ud    ///
if sample==1 & duration_UD>1 & duration_UD<=261 , ///
abs(quarter HS6_main) vce (cluster b_id)
  quietly estadd local CTRL ="\scriptsize{\$q_{sbjo}\$}", replace  
  quietly estadd local est ="OLS", replace  
  quietly estadd local FE ="j,q", replace  
  quietly estadd local CTRL2 ="Yes", replace    
  quietly estadd scalar  U =  . , replace    

eststo: reghdfe ln_duration i1.hartal_order i1.hartal_order#i1.D_sourcing  ln_q_sbjo num_ship_ud    ///
if sample==1 & duration_UD>1 & duration_UD<=261 , ///
abs(quarter HS6_main b_id) vce (cluster b_id)
  quietly estadd local CTRL ="\scriptsize{\$q_{sbjo}\$}", replace  
  quietly estadd local est ="OLS", replace  
  quietly estadd local FE ="j,q,b", replace  
  quietly estadd local CTRL2 ="Yes", replace    
  quietly estadd scalar  U =  . , replace    
  
eststo: reghdfe ln_duration i1.hartal_order i1.hartal_order#i1.D_sourcing  ln_q_sbjo num_ship_ud    ///
if sample==1 & duration_UD>1 & duration_UD<=261 , ///
abs(quarter gr_sjt b_id) vce (cluster b_id)
  quietly estadd local CTRL ="\scriptsize{\$q_{sbjo}\$}", replace  
  quietly estadd local est ="OLS", replace  
  quietly estadd local FE ="sjt,q,b", replace  
  quietly estadd local CTRL2 ="Yes", replace    
  quietly estadd scalar  U =  . , replace       
  
esttab using "${tables}\TableC12.tex", ///
  label replace booktabs b(3) se(3) noconstant obslast substitute(\_ _) ///
  title("Orders Affected by Hartals" \label{Hartals}) ///
  drop( _cons) order( ) /// 
  stats(FE r2   N   , fmt( %~#s   2 %12.0fc  )  ///
  labels("FEs"  `"\(R^{2}\)"'  "Obs."  ))   ///
  star(* 0.10 ** 0.05 *** 0.01) ///
  nonotes  	  
  
 